package com.example.demo.service.Impl;

import com.example.demo.mapper.CrowdFlowDateMapper;
import com.example.demo.module.entity.CrowdFlowDate;
import com.example.demo.service.CrowdFlowDateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CrowdFlowDateServiceImpl implements CrowdFlowDateService {
    @Autowired
    private CrowdFlowDateMapper crowdFlowDateMapper;

    @Override
    public List<CrowdFlowDate> findAll() throws Exception {
        return crowdFlowDateMapper.selectAll();
    }
}
